﻿using Quartz;
using QuartzServices.Infrastructure.Common.Extensions;

namespace QuartzServices.Web.Quartz
{
    public class TestJob : IJob
    {
        public readonly ILogger<TestJob> _logger;

        public TestJob(ILogger<TestJob> logger)
        {
            _logger = logger;
        }

        public Task Execute(IJobExecutionContext context)
        {
            _logger.LogAppInformation("日志测试123123123123123");
            return Task.CompletedTask;
        }
    }
}
